package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 检查结果对象 exam_result
 * 
 * @author ruoyi
 * @date 2024-07-02
 */
public class ExamResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @Excel(name = "ID")
    private Integer id;

    /** 病人姓名 */
    @Excel(name = "病人姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 年龄 */
    @Excel(name = "年龄")
    private Integer age;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String cardNumber;

    /** 检查项目 */
    @Excel(name = "检查项目")
    private String presNumber;

    /** 执行科室 */
    @Excel(name = "执行科室")
    private String department;

    /** 项目检查时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "项目检查时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date collectionTime;

    /** 报告时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报告时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportTime;

    /** 检查医生 */
    @Excel(name = "检查医生")
    private String tester;

    /** 审核医生 */
    @Excel(name = "审核医生")
    private String auditor;

    /** 检查详情 */
    @Excel(name = "检查详情")
    private String checkDetails;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setAge(Integer age) 
    {
        this.age = age;
    }

    public Integer getAge() 
    {
        return age;
    }
    public void setCardNumber(String cardNumber) 
    {
        this.cardNumber = cardNumber;
    }

    public String getCardNumber() 
    {
        return cardNumber;
    }
    public void setPresNumber(String presNumber) 
    {
        this.presNumber = presNumber;
    }

    public String getPresNumber() 
    {
        return presNumber;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setCollectionTime(Date collectionTime) 
    {
        this.collectionTime = collectionTime;
    }

    public Date getCollectionTime() 
    {
        return collectionTime;
    }
    public void setReportTime(Date reportTime) 
    {
        this.reportTime = reportTime;
    }

    public Date getReportTime() 
    {
        return reportTime;
    }
    public void setTester(String tester) 
    {
        this.tester = tester;
    }

    public String getTester() 
    {
        return tester;
    }
    public void setAuditor(String auditor) 
    {
        this.auditor = auditor;
    }

    public String getAuditor() 
    {
        return auditor;
    }
    public void setCheckDetails(String checkDetails) 
    {
        this.checkDetails = checkDetails;
    }

    public String getCheckDetails() 
    {
        return checkDetails;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("gender", getGender())
            .append("age", getAge())
            .append("cardNumber", getCardNumber())
            .append("presNumber", getPresNumber())
            .append("department", getDepartment())
            .append("collectionTime", getCollectionTime())
            .append("reportTime", getReportTime())
            .append("tester", getTester())
            .append("auditor", getAuditor())
            .append("checkDetails", getCheckDetails())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
